<template>
  <div class="q-pa-md" style="max-width: 300px">
    <div class="q-gutter-md">
      <t-select-tree-helper
        v-model:value="value"
        v-model:text="text"
          style='opacity:100%'
          class='fasr_select_tree_helper_e84b0b'
          instanceCode='fasr_select_tree_helper_e84b0b'
          placeholder="请输入编号"
          :multiple='true'
          responseRelationNode='1'
          :onlyCheckedNotLeaf='true'
          relationIcon='/'
          :isLazy='false'
          type='1'
          :columns='[
  {
    "ID": "ID",
    "dataField": "ID",
    "caption": "主键ID",
    "dataType": "String",
    "isShow": false,
    "groupIndex": "",
    "ExprExt": {},
    "linkFormat": "",
    "enumDisp": {},
    "hintConf": {},
    "expanded": true,
    "RefSchemaExpr": "Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.ID",
    "ValueInfo_caption": {
      "ShowValue": "主键ID",
      "ReferenceExpr": "Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.ID.Text",
      "Type": 0
    },
    "ValueInfo_dataType": {
      "ShowValue": "String",
      "ReferenceExpr": "Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.ID.DataType",
      "Type": 0
    },
    "originalName": "ID",
    "tableAlias": "DO_Codes"
  },
  {
    "ID": "Code",
    "dataField": "Code",
    "caption": "编号",
    "dataType": "String",
    "isShow": true,
    "groupIndex": "",
    "ExprExt": {},
    "linkFormat": "",
    "enumDisp": {},
    "hintConf": {},
    "expanded": true,
    "RefSchemaExpr": "Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.Code",
    "ValueInfo_caption": {
      "ShowValue": "编号",
      "ReferenceExpr": "Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.Code.Text",
      "Type": 0
    },
    "ValueInfo_dataType": {
      "ShowValue": "String",
      "ReferenceExpr": "Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.Code.DataType",
      "Type": 0
    },
    "originalName": "Code",
    "tableAlias": "DO_Codes"
  },
  {
    "ID": "Name",
    "dataField": "Name",
    "caption": "名称",
    "dataType": "String",
    "isShow": true,
    "groupIndex": "",
    "ExprExt": {},
    "linkFormat": "",
    "enumDisp": {},
    "hintConf": {},
    "expanded": true,
    "RefSchemaExpr": "Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.Name",
    "ValueInfo_caption": {
      "ShowValue": "名称",
      "ReferenceExpr": "Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.Name.Text",
      "Type": 0
    },
    "ValueInfo_dataType": {
      "ShowValue": "String",
      "ReferenceExpr": "Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.Name.DataType",
      "Type": 0
    },
    "originalName": "Name",
    "tableAlias": "DO_Codes",
    "textAlign": "center"
  },
  {
    "ID": "Type",
    "dataField": "Type",
    "caption": "分类",
    "dataType": "String",
    "isShow": true,
    "groupIndex": "",
    "ExprExt": {},
    "linkFormat": "",
    "enumDisp": {},
    "hintConf": {},
    "expanded": true,
    "RefSchemaExpr": "Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.Type",
    "ValueInfo_caption": {
      "ShowValue": "分类",
      "ReferenceExpr": "Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.Type.Text",
      "Type": 0
    },
    "ValueInfo_dataType": {
      "ShowValue": "String",
      "ReferenceExpr": "Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.Type.DataType",
      "Type": 0
    },
    "originalName": "Type",
    "tableAlias": "DO_Codes",
    "textAlign": "center"
  }
]'
         
          classiFicationCode='Code'
          classiFicationStepRule='2-2-2-2'
          isLeaf=''
          leafValue='1'
          :historyEnable='true'
          :historySaveCount='3'
          indent='20px'
          
          :showSequence='true'
          linker='>'
          :customIcon='false'
          showIconField='f_id'
          showIconField1=''
          :customIcons='false'
          openIcon='icon-angle-left'
          foldIcon='icon-angle-down'
          :readonly='false'
          noData='没有符合条件的数据'
          :tabIndex='1'
          :label="'编号'"
          labelField='Name'
          valueField='Code'
          helperCode='test_tree2024'
          labelPosition='top'
          classiFicationStep='3'
          :maxCheckedLength='10'
          :pageid='PageID'
          :search='fasr_select_helper105917_select'
          dropDownWidth="static"
        dropDownWidthStatic="800"
      />
    </div>
  </div>
</template>

<script>
import { ref } from 'vue';

const options = [];
for (let i = 0; i <= 100000; i++) {
  options.push('Opt ' + i);
}

export default {
  setup() {
    return {
      model: ref(null),
      options,
      fasr_select_helper105917_select: (pageIndex, pageSize, filter) => {
        return new Promise(resolve => {
          debugger;
          resolve({
            ActionID: null,
            ActionCode: null,
            ActionName: null,
            ResultType: 11,
            EntityType: 3,
            DataContent: null,
            Record: {},
            List: [
              {
                ID: '11',
                Code: '11',
                Name: '北京市',
                Type: 'A001',
              },
              {
                ID: '1101',
                Code: '1101',
                Name: '市辖区',
                Type: 'A002',
              },
              {
                ID: '110101',
                Code: '110101',
                Name: '东城区',
                Type: 'A003',
              },
              {
                ID: '110102',
                Code: '110102',
                Name: '西城区',
                Type: 'A003',
              },
              {
                ID: '110105',
                Code: '110105',
                Name: '朝阳区',
                Type: 'A003',
              },
              {
                ID: '110106',
                Code: '110106',
                Name: '丰台区',
                Type: 'A003',
              },
              {
                ID: '110107',
                Code: '110107',
                Name: '石景山区',
                Type: 'A003',
              },
              {
                ID: '110108',
                Code: '110108',
                Name: '海淀区ffff',
                Type: 'A003',
              },
              {
                ID: '110109',
                Code: '110109',
                Name: '门头沟区',
                Type: 'A003',
              },
              {
                ID: '110111',
                Code: '110111',
                Name: '房山区',
                Type: 'A003',
              },
              {
                ID: '110112',
                Code: '110112',
                Name: '通州区',
                Type: 'A003',
              },
              {
                ID: '110113',
                Code: '110113',
                Name: '顺义区',
                Type: 'A003',
              },
              {
                ID: '110114',
                Code: '110114',
                Name: '昌平区',
                Type: 'A003',
              },
              {
                ID: '110115',
                Code: '110115',
                Name: '大兴区',
                Type: 'A003',
              },
              {
                ID: '110116',
                Code: '110116',
                Name: '怀柔区',
                Type: 'A003',
              },
              {
                ID: '110117',
                Code: '110117',
                Name: '平谷区',
                Type: 'A003',
              },
              {
                ID: '110118',
                Code: '110118',
                Name: '密云区',
                Type: 'A003',
              },
              {
                ID: '110119',
                Code: '110119',
                Name: '延庆区',
                Type: 'A003',
              },
              {
                ID: '12',
                Code: '12',
                Name: '天津市',
                Type: 'A001',
              },
              {
                ID: '1201',
                Code: '1201',
                Name: '市辖区',
                Type: 'A002',
              },
              {
                ID: '120101',
                Code: '120101',
                Name: '和平区',
                Type: 'A003',
              },
              {
                ID: '120102',
                Code: '120102',
                Name: '河东区',
                Type: 'A003',
              },
              {
                ID: '120103',
                Code: '120103',
                Name: '河西区',
                Type: 'A003',
              },
              {
                ID: '120104',
                Code: '120104',
                Name: '南开区',
                Type: 'A003',
              },
              {
                ID: '120105',
                Code: '120105',
                Name: '河北区',
                Type: 'A003',
              },
              {
                ID: '120110',
                Code: '120110',
                Name: '东丽区',
                Type: 'A003',
              },
              {
                ID: '120111',
                Code: '120111',
                Name: '西青区',
                Type: 'A003',
              },
              {
                ID: '120112',
                Code: '120112',
                Name: '津南区',
                Type: 'A003',
              },
              {
                ID: '120113',
                Code: '120113',
                Name: '北辰区',
                Type: 'A003',
              },
              {
                ID: '120114',
                Code: '120114',
                Name: '武清区',
                Type: 'A003',
              },
              {
                ID: '120116',
                Code: '120116',
                Name: '滨海新区',
                Type: 'A003',
              },
              {
                ID: '120117',
                Code: '120117',
                Name: '宁河区',
                Type: 'A003',
              },
              {
                ID: '120119',
                Code: '120119',
                Name: '蓟州区',
                Type: 'A003',
              },
              {
                ID: '13',
                Code: '13',
                Name: '河北省',
                Type: 'A001',
              },
              {
                ID: '1301',
                Code: '1301',
                Name: '石家庄市',
                Type: 'A002',
              },
              {
                ID: '130104',
                Code: '130104',
                Name: '桥西区',
                Type: 'A003',
              },
              {
                ID: '130105',
                Code: '130105',
                Name: '新华区',
                Type: 'A003',
              },
              {
                ID: '1307',
                Code: '1307',
                Name: '张家口市',
                Type: 'A002',
              },
              {
                ID: '130702',
                Code: '130702',
                Name: '桥东区',
                Type: 'A003',
              },
              {
                ID: '130709',
                Code: '130709',
                Name: '崇礼区',
                Type: 'A003',
              },
              {
                ID: '3',
                Code: '3',
                Name: '运营中',
                Type: 'T003',
              },
              {
                ID: '31',
                Code: '31',
                Name: '上海市',
                Type: 'A001',
              },
              {
                ID: '3101',
                Code: '3101',
                Name: '市辖区',
                Type: 'A002',
              },
              {
                ID: '310104',
                Code: '310104',
                Name: '徐汇区',
                Type: 'A003',
              },
              {
                ID: '310112',
                Code: '310112',
                Name: '闵行区',
                Type: 'A003',
              },
              {
                ID: '310113',
                Code: '310113',
                Name: '宝山区',
                Type: 'A003',
              },
              {
                ID: '32',
                Code: '32',
                Name: '江苏省',
                Type: 'A001',
              },
              {
                ID: '3213',
                Code: '3213',
                Name: '宿迁市',
                Type: 'A002',
              },
              {
                ID: '321302',
                Code: '321302',
                Name: '宿城区',
                Type: 'A003',
              },
              {
                ID: '34',
                Code: '34',
                Name: '安徽省',
                Type: 'A001',
              },
              {
                ID: '3401',
                Code: '3401',
                Name: '合肥市',
                Type: 'A002',
              },
              {
                ID: '340102',
                Code: '340102',
                Name: '瑶海区',
                Type: 'A003',
              },
              {
                ID: '340103',
                Code: '340103',
                Name: '庐阳区',
                Type: 'A003',
              },
              {
                ID: '340104',
                Code: '340104',
                Name: '蜀山区',
                Type: 'A003',
              },
              {
                ID: '340111',
                Code: '340111',
                Name: '包河区',
                Type: 'A003',
              },
              {
                ID: '340121',
                Code: '340121',
                Name: '长丰县',
                Type: 'A003',
              },
              {
                ID: '340122',
                Code: '340122',
                Name: '肥东县',
                Type: 'A003',
              },
              {
                ID: '340123',
                Code: '340123',
                Name: '肥西县',
                Type: 'A003',
              },
              {
                ID: '340124',
                Code: '340124',
                Name: '庐江县',
                Type: 'A003',
              },
              {
                ID: '35',
                Code: '35',
                Name: '福建省',
                Type: 'A001',
              },
              {
                ID: '3501',
                Code: '3501',
                Name: '福州市',
                Type: 'A002',
              },
              {
                ID: '350101',
                Code: '350101',
                Name: '市辖区',
                Type: 'A003',
              },
              {
                ID: '350102',
                Code: '350102',
                Name: '鼓楼区',
                Type: 'A003',
              },
              {
                ID: '350103',
                Code: '350103',
                Name: '台江区',
                Type: 'A003',
              },
              {
                ID: '350104',
                Code: '350104',
                Name: '仓山区',
                Type: 'A003',
              },
              {
                ID: '350123',
                Code: '350123',
                Name: '罗源县',
                Type: 'A003',
              },
              {
                ID: '350182',
                Code: '350182',
                Name: '长乐区',
                Type: 'A003',
              },
              {
                ID: '3502',
                Code: '3502',
                Name: '厦门市',
                Type: 'A002',
              },
              {
                ID: '350203',
                Code: '350203',
                Name: '思明区',
                Type: 'A003',
              },
              {
                ID: '350205',
                Code: '350205',
                Name: '海沧区',
                Type: 'A003',
              },
              {
                ID: '350206',
                Code: '350206',
                Name: '湖里区',
                Type: 'A003',
              },
              {
                ID: '3505',
                Code: '3505',
                Name: '泉州市',
                Type: 'A002',
              },
              {
                ID: '350582',
                Code: '350582',
                Name: '晋江市',
                Type: 'A003',
              },
              {
                ID: '3507',
                Code: '3507',
                Name: '南平市',
                Type: 'A002',
              },
              {
                ID: '350702',
                Code: '350702',
                Name: '延平区',
                Type: 'A003',
              },
              {
                ID: '3509',
                Code: '3509',
                Name: '宁德市',
                Type: 'A002',
              },
              {
                ID: '350902',
                Code: '350902',
                Name: '蕉城区',
                Type: 'A003',
              },
              {
                ID: '37',
                Code: '37',
                Name: '山东省',
                Type: 'A001',
              },
              {
                ID: '3702',
                Code: '3702',
                Name: '青岛市',
                Type: 'A002',
              },
              {
                ID: '370202',
                Code: '370202',
                Name: '市南区',
                Type: 'A003',
              },
              {
                ID: '370203',
                Code: '370203',
                Name: '市北区',
                Type: 'A003',
              },
              {
                ID: '370211',
                Code: '370211',
                Name: '黄岛区',
                Type: 'A003',
              },
              {
                ID: '370212',
                Code: '370212',
                Name: '崂山区',
                Type: 'A003',
              },
              {
                ID: '370213',
                Code: '370213',
                Name: '李沧区',
                Type: 'A003',
              },
              {
                ID: '370214',
                Code: '370214',
                Name: '城阳区',
                Type: 'A003',
              },
              {
                ID: '370281',
                Code: '370281',
                Name: '胶州市',
                Type: 'A003',
              },
              {
                ID: '370283',
                Code: '370283',
                Name: '平度市',
                Type: 'A003',
              },
              {
                ID: '370285',
                Code: '370285',
                Name: '莱西市',
                Type: 'A003',
              },
              {
                ID: '3705',
                Code: '3705',
                Name: '东营市',
                Type: 'A002',
              },
              {
                ID: '370502',
                Code: '370502',
                Name: '东营区',
                Type: 'A003',
              },
              {
                ID: '3706',
                Code: '3706',
                Name: '烟台市',
                Type: 'A002',
              },
              {
                ID: '370613',
                Code: '370613',
                Name: '莱山区',
                Type: 'A003',
              },
              {
                ID: '3707',
                Code: '3707',
                Name: '潍坊市',
                Type: 'A002',
              },
              {
                ID: '370705',
                Code: '370705',
                Name: '奎文区',
                Type: 'A003',
              },
              {
                ID: '3708',
                Code: '3708',
                Name: '济宁市',
                Type: 'A002',
              },
              {
                ID: '370832',
                Code: '370832',
                Name: '梁山县',
                Type: 'A003',
              },
              {
                ID: '3713',
                Code: '3713',
                Name: '临沂市',
                Type: 'A002',
              },
              {
                ID: '371302',
                Code: '371302',
                Name: '兰山区',
                Type: 'A003',
              },
              {
                ID: '371311',
                Code: '371311',
                Name: '罗庄区',
                Type: 'A003',
              },
              {
                ID: '371312',
                Code: '371312',
                Name: '河东区',
                Type: 'A003',
              },
              {
                ID: '371325',
                Code: '371325',
                Name: '费县',
                Type: 'A003',
              },
              {
                ID: '371328',
                Code: '371328',
                Name: '蒙阴县',
                Type: 'A003',
              },
              {
                ID: '3714',
                Code: '3714',
                Name: '德州市',
                Type: 'A002',
              },
              {
                ID: '371402',
                Code: '371402',
                Name: '德城区',
                Type: 'A003',
              },
              {
                ID: '4',
                Code: '4',
                Name: '暂停营业',
                Type: 'T003',
              },
              {
                ID: '41',
                Code: '41',
                Name: '河南省',
                Type: 'A001',
              },
              {
                ID: '4101',
                Code: '4101',
                Name: '郑州市',
                Type: 'A002',
              },
              {
                ID: '410104',
                Code: '410104',
                Name: '管城回族区',
                Type: 'A003',
              },
              {
                ID: '4107',
                Code: '4107',
                Name: '新乡市',
                Type: 'A002',
              },
              {
                ID: '410702',
                Code: '410702',
                Name: '红旗区',
                Type: 'A003',
              },
              {
                ID: '410711',
                Code: '410711',
                Name: '牧野区',
                Type: 'A003',
              },
              {
                ID: '4114',
                Code: '4114',
                Name: '商丘市',
                Type: 'A002',
              },
              {
                ID: '411402',
                Code: '411402',
                Name: '梁园区',
                Type: 'A003',
              },
              {
                ID: '42',
                Code: '42',
                Name: '湖北省',
                Type: 'A001',
              },
              {
                ID: '4201',
                Code: '4201',
                Name: '武汉市',
                Type: 'A002',
              },
              {
                ID: '420103',
                Code: '420103',
                Name: '江汉区',
                Type: 'A003',
              },
              {
                ID: '420104',
                Code: '420104',
                Name: '硚口区',
                Type: 'A003',
              },
              {
                ID: '420105',
                Code: '420105',
                Name: '汉阳区',
                Type: 'A003',
              },
              {
                ID: '420111',
                Code: '420111',
                Name: '洪山区',
                Type: 'A003',
              },
              {
                ID: '420112',
                Code: '420112',
                Name: '东西湖区',
                Type: 'A003',
              },
              {
                ID: '420114',
                Code: '420114',
                Name: '蔡甸区',
                Type: 'A003',
              },
              {
                ID: '4206',
                Code: '4206',
                Name: '襄阳市',
                Type: 'A002',
              },
              {
                ID: '420602',
                Code: '420602',
                Name: '襄城区',
                Type: 'A003',
              },
              {
                ID: '420607',
                Code: '420607',
                Name: '襄州区',
                Type: 'A003',
              },
              {
                ID: '4208',
                Code: '4208',
                Name: '荆门市',
                Type: 'A002',
              },
              {
                ID: '420804',
                Code: '420804',
                Name: '掇刀区',
                Type: 'A003',
              },
              {
                ID: '4211',
                Code: '4211',
                Name: '黄冈市',
                Type: 'A002',
              },
              {
                ID: '421102',
                Code: '421102',
                Name: '黄州区',
                Type: 'A003',
              },
              {
                ID: '4212',
                Code: '4212',
                Name: '咸宁市',
                Type: 'A002',
              },
              {
                ID: '421281',
                Code: '421281',
                Name: '赤壁市',
                Type: 'A003',
              },
              {
                ID: '43',
                Code: '43',
                Name: '湖南省',
                Type: 'A001',
              },
              {
                ID: '4301',
                Code: '4301',
                Name: '长沙市',
                Type: 'A002',
              },
              {
                ID: '430102',
                Code: '430102',
                Name: '芙蓉区',
                Type: 'A003',
              },
              {
                ID: '430104',
                Code: '430104',
                Name: '岳麓区',
                Type: 'A003',
              },
              {
                ID: '430105',
                Code: '430105',
                Name: '开福区',
                Type: 'A003',
              },
              {
                ID: '430112',
                Code: '430112',
                Name: '望城区',
                Type: 'A003',
              },
              {
                ID: '430121',
                Code: '430121',
                Name: '长沙县',
                Type: 'A003',
              },
              {
                ID: '44',
                Code: '44',
                Name: '广东省',
                Type: 'A001',
              },
              {
                ID: '4401',
                Code: '4401',
                Name: '广州市',
                Type: 'A002',
              },
              {
                ID: '440111',
                Code: '440111',
                Name: '白云区',
                Type: 'A003',
              },
              {
                ID: '440113',
                Code: '440113',
                Name: '番禺区',
                Type: 'A003',
              },
              {
                ID: '440115',
                Code: '440115',
                Name: '南沙区',
                Type: 'A003',
              },
              {
                ID: '4404',
                Code: '4404',
                Name: '珠海市',
                Type: 'A002',
              },
              {
                ID: '440402',
                Code: '440402',
                Name: '香洲区',
                Type: 'A003',
              },
              {
                ID: '4406',
                Code: '4406',
                Name: '佛山市',
                Type: 'A002',
              },
              {
                ID: '440604',
                Code: '440604',
                Name: '禅城区',
                Type: 'A003',
              },
              {
                ID: '4413',
                Code: '4413',
                Name: '惠州市',
                Type: 'A002',
              },
              {
                ID: '441302',
                Code: '441302',
                Name: '惠城区',
                Type: 'A003',
              },
              {
                ID: '441323',
                Code: '441323',
                Name: '惠东县',
                Type: 'A003',
              },
              {
                ID: '441324',
                Code: '441324',
                Name: '龙门县',
                Type: 'A003',
              },
              {
                ID: '4420',
                Code: '4420',
                Name: '中山市',
                Type: 'A002',
              },
              {
                ID: '442000',
                Code: '442000',
                Name: '市辖区',
                Type: 'A003',
              },
              {
                ID: '45',
                Code: '45',
                Name: '广西壮族自治区',
                Type: 'A001',
              },
              {
                ID: '4502',
                Code: '4502',
                Name: '柳州市',
                Type: 'A002',
              },
              {
                ID: '450204',
                Code: '450204',
                Name: '柳南区',
                Type: 'A003',
              },
              {
                ID: '46',
                Code: '46',
                Name: '海南省',
                Type: 'A001',
              },
              {
                ID: '4601',
                Code: '4601',
                Name: '海口市',
                Type: 'A002',
              },
              {
                ID: '460105',
                Code: '460105',
                Name: '秀英区',
                Type: 'A003',
              },
              {
                ID: '460106',
                Code: '460106',
                Name: '龙华区',
                Type: 'A003',
              },
              {
                ID: '4602',
                Code: '4602',
                Name: '三亚市',
                Type: 'A002',
              },
              {
                ID: '460201',
                Code: '460201',
                Name: '市辖区',
                Type: 'A003',
              },
              {
                ID: '4690',
                Code: '4690',
                Name: '省直辖县级行政区划',
                Type: 'A002',
              },
              {
                ID: '469005',
                Code: '469005',
                Name: '文昌市',
                Type: 'A003',
              },
              {
                ID: '469006',
                Code: '469006',
                Name: '万宁市',
                Type: 'A003',
              },
              {
                ID: '469023',
                Code: '469023',
                Name: '澄迈县',
                Type: 'A003',
              },
              {
                ID: '5',
                Code: '5',
                Name: '关闭',
                Type: 'T003',
              },
              {
                ID: '50',
                Code: '50',
                Name: '重庆市',
                Type: 'A001',
              },
              {
                ID: '5001',
                Code: '5001',
                Name: '市辖区',
                Type: 'A002',
              },
              {
                ID: '500103',
                Code: '500103',
                Name: '渝中区',
                Type: 'A003',
              },
              {
                ID: '500107',
                Code: '500107',
                Name: '九龙坡区',
                Type: 'A003',
              },
              {
                ID: '500108',
                Code: '500108',
                Name: '南岸区',
                Type: 'A003',
              },
              {
                ID: '500112',
                Code: '500112',
                Name: '渝北区',
                Type: 'A003',
              },
              {
                ID: '500120',
                Code: '500120',
                Name: '璧山区',
                Type: 'A003',
              },
              {
                ID: '5002',
                Code: '5002',
                Name: '县',
                Type: 'A002',
              },
              {
                ID: '500241',
                Code: '500241',
                Name: '秀山土家族苗族自治县',
                Type: 'A003',
              },
              {
                ID: '51',
                Code: '51',
                Name: '四川省',
                Type: 'A001',
              },
              {
                ID: '5101',
                Code: '5101',
                Name: '成都市',
                Type: 'A002',
              },
              {
                ID: '510107',
                Code: '510107',
                Name: '武侯区',
                Type: 'A003',
              },
              {
                ID: '510112',
                Code: '510112',
                Name: '龙泉驿区',
                Type: 'A003',
              },
              {
                ID: '510116',
                Code: '510116',
                Name: '双流区',
                Type: 'A003',
              },
              {
                ID: '5106',
                Code: '5106',
                Name: '德阳市',
                Type: 'A002',
              },
              {
                ID: '510681',
                Code: '510681',
                Name: '广汉市',
                Type: 'A003',
              },
              {
                ID: '5107',
                Code: '5107',
                Name: '绵阳市',
                Type: 'A002',
              },
              {
                ID: '510705',
                Code: '510705',
                Name: '安州区',
                Type: 'A003',
              },
              {
                ID: '5111',
                Code: '5111',
                Name: '乐山市',
                Type: 'A002',
              },
              {
                ID: '511112',
                Code: '511112',
                Name: '五通桥区',
                Type: 'A003',
              },
              {
                ID: '61',
                Code: '61',
                Name: '陕西省',
                Type: 'A001',
              },
              {
                ID: '6101',
                Code: '6101',
                Name: '西安市',
                Type: 'A002',
              },
              {
                ID: '610102',
                Code: '610102',
                Name: '新城区',
                Type: 'A003',
              },
              {
                ID: '610112',
                Code: '610112',
                Name: '未央区',
                Type: 'A003',
              },
              {
                ID: '610113',
                Code: '610113',
                Name: '雁塔区',
                Type: 'A003',
              },
              {
                ID: '610116',
                Code: '610116',
                Name: '长安区',
                Type: 'A003',
              },
            ],
            Schema: {
              ActionID: 'ba613df9-e361-45ba-8894-6957106bf6aa',
              ActionCode: 'DQ_PCR_Code_GCC',
              ActionName: '数据查询202828',
              MetadataType: 3,
              ResultType: 11,
              Entity: {
                MetadataID: 'ba613df9-e361-45ba-8894-6957106bf6aa',
                MetadataCode: 'DQ_PCR_Code_GCC',
                MetadataName: '数据查询202828',
                Description: null,
                RefSchemaExpr: 'Schema.DQ.DQ_PCR_Code_GCC',
                MetadataType: 3,
                Relation: null,
                ResultType: 11,
                Attributes: [
                  {
                    MetadataCode: 'DQ_PCR_Code_GCC',
                    SourceColumnID: null,
                    SourceColumnCode: null,
                    SourceColumnName: null,
                    RefSchemaExpr: 'Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes',
                    ID: '69102fb8-63a3-4597-89c2-68dd7cb726a3',
                    Code: 'DO_Codes',
                    Name: '数据对象111009',
                    Description: null,
                    DataType: 10,
                    OriginDataType: null,
                    IsPrimaryKey: false,
                    SortOrder: 0,
                    IsDetail: false,
                    IsVirtual: false,
                    RelatePropertyCode: null,
                    EntityType: 0,
                    Entity: {
                      MetadataID: '69102fb8-63a3-4597-89c2-68dd7cb726a3',
                      MetadataCode: 'DO_Codes',
                      MetadataName: '数据对象111009',
                      Description: null,
                      RefSchemaExpr:
                        'Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes',
                      MetadataType: 0,
                      Relation: null,
                      ResultType: 10,
                      Attributes: [
                        {
                          MetadataCode: 'DQ_PCR_Code_GCC',
                          SourceColumnID:
                            '98b106d6-73ed-42b8-9418-f55eb38a7868',
                          SourceColumnCode: 'ID',
                          SourceColumnName: '主键ID',
                          RefSchemaExpr:
                            'Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.ID',
                          ID: 'ID',
                          Code: 'ID',
                          Name: '主键ID',
                          Description: null,
                          DataType: 9,
                          OriginDataType: null,
                          IsPrimaryKey: true,
                          SortOrder: 0,
                          IsDetail: true,
                          IsVirtual: false,
                          RelatePropertyCode: null,
                          EntityType: 4,
                          Entity: null,
                          Length: 36,
                          IsRequired: true,
                          Precision: 0,
                          DefaultValue: null,
                          AttributeType: 0,
                          ExtProperties: {
                            IsInternational: false,
                            IsEnableMasking: false,
                            IsEnableColumnPermission: false,
                          },
                        },
                        {
                          MetadataCode: 'DQ_PCR_Code_GCC',
                          SourceColumnID:
                            'c5372ba8-7dc3-4452-a9a5-f445caccb13f',
                          SourceColumnCode: 'Code',
                          SourceColumnName: '编号',
                          RefSchemaExpr:
                            'Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.Code',
                          ID: 'Code',
                          Code: 'Code',
                          Name: '编号',
                          Description: null,
                          DataType: 9,
                          OriginDataType: null,
                          IsPrimaryKey: false,
                          SortOrder: 1,
                          IsDetail: true,
                          IsVirtual: false,
                          RelatePropertyCode: null,
                          EntityType: 4,
                          Entity: null,
                          Length: 128,
                          IsRequired: false,
                          Precision: 0,
                          DefaultValue: null,
                          AttributeType: 0,
                          ExtProperties: {
                            IsInternational: false,
                            IsEnableMasking: false,
                            IsEnableColumnPermission: false,
                          },
                        },
                        {
                          MetadataCode: 'DQ_PCR_Code_GCC',
                          SourceColumnID:
                            '7574a6fd-dee1-47af-bc75-b248fddb2b5c',
                          SourceColumnCode: 'Name',
                          SourceColumnName: '名称',
                          RefSchemaExpr:
                            'Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.Name',
                          ID: 'Name',
                          Code: 'Name',
                          Name: '名称',
                          Description: null,
                          DataType: 9,
                          OriginDataType: null,
                          IsPrimaryKey: false,
                          SortOrder: 2,
                          IsDetail: true,
                          IsVirtual: false,
                          RelatePropertyCode: null,
                          EntityType: 4,
                          Entity: null,
                          Length: 128,
                          IsRequired: false,
                          Precision: 0,
                          DefaultValue: null,
                          AttributeType: 0,
                          ExtProperties: {
                            IsInternational: false,
                            IsEnableMasking: false,
                            IsEnableColumnPermission: false,
                          },
                        },
                        {
                          MetadataCode: 'DQ_PCR_Code_GCC',
                          SourceColumnID:
                            'fe2a51b4-8398-4566-a95c-7d1df71d6778',
                          SourceColumnCode: 'Type',
                          SourceColumnName: '分类',
                          RefSchemaExpr:
                            'Schema.DQ.DQ_PCR_Code_GCC.Sources.DO_Codes.Columns.Type',
                          ID: 'Type',
                          Code: 'Type',
                          Name: '分类',
                          Description: null,
                          DataType: 9,
                          OriginDataType: null,
                          IsPrimaryKey: false,
                          SortOrder: 3,
                          IsDetail: true,
                          IsVirtual: false,
                          RelatePropertyCode: null,
                          EntityType: 4,
                          Entity: null,
                          Length: 50,
                          IsRequired: false,
                          Precision: 0,
                          DefaultValue: null,
                          AttributeType: 0,
                          ExtProperties: {
                            IsInternational: false,
                            IsEnableMasking: false,
                            IsEnableColumnPermission: false,
                          },
                        },
                      ],
                      ListTypeMethods: null,
                    },
                    Length: 0,
                    IsRequired: false,
                    Precision: 0,
                    DefaultValue: null,
                    AttributeType: 0,
                    ExtProperties: null,
                  },
                ],
                ListTypeMethods: [
                  {
                    Code: 'List',
                    ReturnDataType: 11,
                    Description: 'List',
                    IsClientFunc: false,
                    JSFunc: '#GetList',
                    SortOrder: 0,
                    SubMethods: [
                      {
                        Code: 'Current',
                        ReturnDataType: 10,
                        Description: '获取CurrentRowNumber行的记录',
                        IsClientFunc: false,
                        JSFunc: '@EntityDQ_PCR_Code_GCC',
                        SortOrder: 1,
                        SubMethods: null,
                      },
                      {
                        Code: 'CurrentRowNumber',
                        ReturnDataType: 2,
                        Description: '获取当前行号',
                        IsClientFunc: false,
                        JSFunc: '#GetCurrentRowNumber',
                        SortOrder: 2,
                        SubMethods: null,
                      },
                      {
                        Code: 'Rows',
                        ReturnDataType: 2,
                        Description: '获取数据行数',
                        IsClientFunc: false,
                        JSFunc: '#GetRows',
                        SortOrder: 3,
                        SubMethods: null,
                      },
                      {
                        Code: 'Empty',
                        ReturnDataType: 1,
                        Description: '数据是否为空',
                        IsClientFunc: false,
                        JSFunc: '#IsEmpty',
                        SortOrder: 4,
                        SubMethods: null,
                      },
                      {
                        Code: 'Count',
                        ReturnDataType: 2,
                        Description: 'Count',
                        IsClientFunc: false,
                        JSFunc: '#GetCount',
                        SortOrder: 5,
                        SubMethods: null,
                      },
                    ],
                  },
                ],
              },
            },
            Count: 192,
          });
        });
      },
      value: ref([]),
      text: ref(''),
      columns: ref([
        {
          ID: 'Name',
          dataField: 'Name',
          caption: '产品线名称',
          dataType: 'String',
          isShow: true,
          groupIndex: '',
          ExprExt: {},
          linkFormat: '',
          enumDisp: {},
          hintConf: {},
          expanded: true,
          RefSchemaExpr:
            'Schema.DQ.GetCDO_DO_dep_tagresulttrain_zhangbaoBasicList.Sources.DO_dep_tagresulttrain_zhangbao.Columns.TagName',
          ValueInfo_caption: {
            ShowValue: '标签名称',
            ReferenceExpr:
              'Schema.Page.Page105906.Controls.fasr_select_helper105917.Columns.TagName.caption',
            Type: 1,
          },
          ValueInfo_dataType: {
            ShowValue: 'String',
            ReferenceExpr:
              'Schema.DQ.GetCDO_DO_dep_tagresulttrain_zhangbaoBasicList.Sources.DO_dep_tagresulttrain_zhangbao.Columns.TagName.DataType',
            Type: 0,
          },
        },
        {
          ID: 'ID',
          dataField: 'ID',
          caption: '产品线名称ID',
          dataType: 'String',
          isShow: true,
          groupIndex: '',
          ExprExt: {},
          linkFormat: '',
          enumDisp: {},
          hintConf: {},
          expanded: true,
          RefSchemaExpr:
            'Schema.DQ.GetCDO_DO_dep_tagresulttrain_zhangbaoBasicList.Sources.DO_dep_tagresulttrain_zhangbao.Columns.TagName',
          ValueInfo_caption: {
            ShowValue: '标签名称',
            ReferenceExpr:
              'Schema.Page.Page105906.Controls.fasr_select_helper105917.Columns.TagName.caption',
            Type: 1,
          },
          ValueInfo_dataType: {
            ShowValue: 'String',
            ReferenceExpr:
              'Schema.DQ.GetCDO_DO_dep_tagresulttrain_zhangbaoBasicList.Sources.DO_dep_tagresulttrain_zhangbao.Columns.TagName.DataType',
            Type: 0,
          },
        },
      ]),
    };
  },
};
</script>
<style>
.Teld_Table_Content {
  max-height: 300px !important;
}
.Teld_Tree_Hepler_Table tr td{
  text-align: left !important;
}
</style>
